﻿using System.Web.Mvc;
using Microsoft.Practices.Unity;

namespace IoC
{
    public static class Bootstrapper
    {


        public static void ConfigureUnityContainer()
        {

            IUnityContainer container = new UnityContainer();
           
            ControllerBuilder.Current.SetControllerFactory(new UnityControllerFactory(container));

        }
    }
}